package com.kws.system.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.kws.system.domain.info.QueryChatReplyInfo;
import com.kws.system.domain.info.QueryCustomerServiceConsultInfo;
import com.kws.system.domain.vo.QueryCustomerServiceConsultRq;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CustomerServiceConsultMapper {
    List<QueryCustomerServiceConsultInfo> queryCustomerServiceConsultPage(@Param("query") QueryCustomerServiceConsultRq query);

    Page<QueryCustomerServiceConsultInfo> queryCustomerServiceConsult(@Param("page") Page<QueryCustomerServiceConsultInfo> page,
                                                                      @Param("records") List<QueryCustomerServiceConsultInfo> records,
                                                                      @Param("query") QueryCustomerServiceConsultRq query);

    String queryCompanyName(@Param("userId") Long userId);

    Page<QueryChatReplyInfo> queryChatReplyList(@Param("page") Page<QueryChatReplyInfo> page);
}
